﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: OrderLogEntity.cs
// 修改时间：2020-9-8 10:40:07
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：OrderLog 的实体类.
	/// </summary>
	[Table("OrderLog")]
	public partial class OrderLogEntity
	{
		#region Properties
		private int? _orderLogID = 0;
		/// <summary>
		/// 订单历史记录ID(主键)(自增长)
		/// </summary>
		[Column("OrderLogID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? OrderLogID
		{
			get {return _orderLogID;}
			set {_orderLogID = value;}
		}
		
		private System.String _orderNum = string.Empty;
		/// <summary>
		/// 订单编号
		/// </summary>
		[Column("OrderNum",TypeName="nvarchar(20)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String OrderNum
		{
			get {return _orderNum;}
			set {_orderNum = value;}
		}
		
		private System.String _actionName = string.Empty;
		/// <summary>
		/// 操作名称
		/// </summary>
		[Column("ActionName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ActionName
		{
			get {return _actionName;}
			set {_actionName = value;}
		}
		
		private DateTime? _actionTime = null;
		/// <summary>
		/// 操作时间
		/// </summary>
		[Column("ActionTime",TypeName="datetime")]
		public DateTime? ActionTime
		{
			get {return _actionTime;}
			set {_actionTime = value;}
		}
		
		private System.String _userIP = string.Empty;
		/// <summary>
		/// 用户IP
		/// </summary>
		[Column("UserIP",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserIP
		{
			get {return _userIP;}
			set {_userIP = value;}
		}
		
		private System.String _userName = string.Empty;
		/// <summary>
		/// 操作员名称
		/// </summary>
		[Column("UserName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}
		
		private System.String _remark = string.Empty;
		/// <summary>
		/// 备注
		/// </summary>
		[Column("Remark",TypeName="nvarchar(200)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
		
		#endregion
	}
}
